<!DOCTYPE html>
<html>

<head>
<meta charset="UTF-8">

<title> 提交记录 5170 - Judge Duck Online </title>

<link rel="icon" type="image/png" href="/images/judgeduck-logo-small.png" />

<script src="/libs/js/jquery-3.2.1.min.js"></script>

<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="/libs/css/bootstrap.min.css" />

<!-- Latest compiled and minified JavaScript -->
<script src="/libs/js/bootstrap.min.js"></script>

<link rel="stylesheet" type="text/css" href="/css/main.css" />
<link rel="stylesheet" href="/css/non-responsive.css" type="text/css" />

<script src="/js/md5.js"></script>
<script src="/js/judgeduck.js"></script>

<script type="text/x-mathjax-config">
	MathJax.Hub.Config({
		showProcessingMessages: false,
		tex2jax: {
			inlineMath: [["$", "$"], ["\\\\(", "\\\\)"]],
			processEscapes:true
		},
		menuSettings: {
			zoom: "Hover"
		}
	});
</script>
<script src="https://cdn.jsdelivr.net/npm/mathjax@2.7.1/MathJax.js?config=TeX-AMS_HTML"></script>

<link rel="stylesheet" href="https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.css">
<script src="https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.js"></script>

</head>

<body onload="">

<!-- Fixed navbar -->
<nav class="navbar navbar-default" role="navigation" style="background-color: #eeeeee">
	<div class="container">
		<div class="navbar-header">
			<div class="navbar-brand">
				<a href="/">
					<img src="/images/judgeduck-logo.png" width="40px" height="40px" style="margin:-10px" />
				</a>
			</div>
			<font class="navbar-brand">
				Judge Duck Online
			</font>
		</div>
		<div class="navbar-collapse collapse">
			<ul class="nav navbar-nav">
				<li class="nav-item">
					<a class="nav-link" href="/index/index.html"> 首页 </a>
				</li>
				<li class="nav-item">
					<a class="nav-link" href="/problems/index.html"> 题目列表 </a>
				</li>
				<li class="nav-item">
					<a class="nav-link" href="/submissions/index.html"> 提交记录 </a>
				</li>
				<li class="nav-item">
					<a class="nav-link" href="/blogs/index.html"> 博客 </a>
				</li>
				<li class="nav-item">
					<a class="nav-link" href="/faq/index.html"> FAQ </a>
				</li>
			</ul>
			<ul class="nav navbar-nav navbar-right">
				<li class="nav-item">
					<a class="nav-link" href="/user/login/index.html"> 登录 </a>
				</li>
				<li class="nav-item">
					<a class="nav-link" href="/user/register/index.html"> 注册 </a>
				</li>
			</ul>
		</div><!--/.nav-collapse -->
	</div>
</nav>




<div id="main_div" class="container" style="padding-left: 25px; padding-right: 25px">
	<h2> 提交记录 5170 </h2>
	<hr />
	
	<div class="row">
		<div class="col-xs-12">
			<table class="table table-bordered">
				<tr>
					<th class="col-xs-2"> 用户 </th>
					<th class="col-xs-3"> 题目 </th>
					<th class="col-xs-2"> 状态 </th>
					<th class="col-xs-1"> 得分 </th>
					<th class="col-xs-1"> 用时 </th>
					<th class="col-xs-1"> 内存 </th>
					<th class="col-xs-1"> 语言 </th>
					<th class="col-xs-1"> 代码长度 </th>
				</tr>
				<tr>
					<td style='font-size:13px'> <a href='/user/profile/noi18std/index.html'> noi18std </a> </td>
<td> <a href='/problem/noi18c/index.html'> noi18c. 【NOI2018】你的名字 </a> </td>
<td> Accepted </td>
<td> 100 </td>
<td style='font-size:13px'> 2.923 s </td>
<td style='font-size:13px'> 409 MB + 880 KB </td>
<td style='font-size:13px'> C++11 </td>
<td style='font-size:13px'> 4.62 KB </td>
				</tr>
			</table>
			<table class="table table-bordered">
				<tr>
					<th class="col-xs-6"> 提交时间 </th>
					<th class="col-xs-6"> 评测时间 </th>
				</tr>
				<tr>
					<td style='font-size:13px'> 2018-08-08 21:57:44 </td>
<td style='font-size:13px'> 2019-01-19 09:52:14 </td>
				</tr>
			</table>
			<link rel="stylesheet" href="//cdn.jsdelivr.net/gh/highlightjs/cdn-release@9.12.0/build/styles/tomorrow.min.css">
			<script src="//cdn.jsdelivr.net/gh/highlightjs/cdn-release@9.12.0/build/highlight.min.js"></script>
			<script>hljs.initHighlightingOnLoad();</script>
			<div class="row">
				<label for="code"> 代码 </label>
				<pre style="background-color:white"><code class="cpp">#include &lt;bits/stdc++.h&gt;
#define REP(i,x,y) for(int i=(int)x;i&lt;=(int)y;i++)
#define PER(i,x,y) for(int i=(int)x;i&gt;=(int)y;i--)
#define FOR(i,x,y) for(int i=(int)x;i&lt; (int)y;i++)
#define fi first
#define se second
#define pb push_back
#define mk make_pair
using namespace std;
const int N=500005;

char s[N];

int dfn[N&lt;&lt;1],slen;
int ls[N*40],rs[N*40];
int rt[N&lt;&lt;1],segcnt,len[N&lt;&lt;1],Fa[20][N&lt;&lt;1];
int *fa=Fa[0];

namespace sam{
	int cnt=1,las=1;
	int tre[N&lt;&lt;1][26],dep[N&lt;&lt;1];
	int id[N&lt;&lt;1],lab[N&lt;&lt;1];
	
	void append(int w,int pos){
		int p=++cnt,q=las;
		len[p]=len[las]+1;
		lab[p]=pos;
		las=p;
		for(;q&amp;&amp;tre[q][w]==0;q=fa[q]) tre[q][w]=p;
		if(!q){
			fa[p]=1; return;
		}else{
			int gt=tre[q][w];
			if(len[q]+1==len[gt]){
				fa[p]=gt; return;
			}else{
				int nq=++cnt;
				len[nq]=len[q]+1;
				fa[nq]=fa[gt];
				fa[gt]=fa[p]=nq;
				memcpy(tre[nq],tre[gt],sizeof tre[nq]);
				for(;q&amp;&amp;tre[q][w]==gt;q=fa[q]) tre[q][w]=nq;
			}
		}
	}
	
	inline int cmp(const int &amp;u,const int &amp;v){
		return len[u]&lt;len[v];
	}
	
	vector&lt;int&gt; E[N&lt;&lt;1];
	
	void initlca(){
		REP(i,1,19) REP(j,1,cnt) Fa[i][j]=Fa[i-1][Fa[i-1][j]];
		REP(i,1,cnt) id[i]=i;
		sort(id+1,id+cnt+1,cmp);
		REP(i,2,cnt){
			int u=id[i];
			dep[u]=dep[fa[u]]+1;
		}
		REP(i,2,cnt) E[fa[i]].push_back(i);
	}

	int asklca(int u,int v){
		if(dep[u]&lt;dep[v]) swap(u,v);
		PER(i,19,0) if(dep[Fa[i][u]]&gt;=dep[v]) u=Fa[i][u];
		if(u==v) return u;
		PER(i,19,0) if(Fa[i][u]^Fa[i][v]) u=Fa[i][u],v=Fa[i][v];
		return fa[u];
	}
	
	void insert(int &amp;x,int L,int R,int v){
		x=++segcnt;
		if(L==R) return;
		int md=(L+R)/2;
		if(v&lt;=md) insert(ls[x],L,md,v); else insert(rs[x],md+1,R,v);
	}
	
	int merge(int u,int v){
		if(!u||!v) return u|v;
		int ret=++segcnt;
		ls[ret]=merge(ls[u],ls[v]);
		rs[ret]=merge(rs[u],rs[v]);
		return ret;
	}
	
	int dfntot;
	void dfs(int x){
		dfn[x]=++dfntot;
		if(lab[x]) insert(rt[x],1,slen,lab[x]);
		for(auto v:E[x]) dfs(v);
		for(auto v:E[x]){
			if(!rt[x]) rt[x]=rt[v]; else rt[x]=merge(rt[x],rt[v]);
		}
	}

	int askmax(int x,int l,int r){
		if(!x) return 0;
		if(l==r) return l;
		int md=(l+r)/2;
		int k1=askmax(rs[x],md+1,r);
		if(k1) return k1;
		return askmax(ls[x],l,md);
	}
	
	int ask(int x,int l,int r,int v){
		if(!x) return 0;
		if(l==r) return l;
		int md=(l+r)/2;
		if(v&lt;=md) return ask(ls[x],l,md,v);
		int k1=ask(rs[x],md+1,r,v);
		if(k1) return k1;
		return askmax(ls[x],l,md);
	}
	
	int askpre(int x,int w){
		return ask(rt[x],1,slen,w);
	}
	
}


namespace sam2{
	int cnt=1,las=1;
	int tre[N&lt;&lt;1][26],len[N&lt;&lt;1],fa[N&lt;&lt;1];
	
	void init(){
		REP(i,1,cnt){
			len[i]=fa[i]=0;
			FOR(j,0,26) tre[i][j]=0;
		}
		cnt=las=1;
	}
	
	void append(int w,int pos){
		int p=++cnt,q=las;
		len[p]=len[las]+1;
		las=p;
		for(;q&amp;&amp;tre[q][w]==0;q=fa[q]) tre[q][w]=p;
		if(!q){
			fa[p]=1; return;
		}else{
			int gt=tre[q][w];
			if(len[q]+1==len[gt]){
				fa[p]=gt; return;
			}else{
				int nq=++cnt;
				len[nq]=len[q]+1;
				fa[nq]=fa[gt];
				fa[gt]=fa[p]=nq;
				memcpy(tre[nq],tre[gt],sizeof tre[nq]);
				for(;q&amp;&amp;tre[q][w]==gt;q=fa[q]) tre[q][w]=nq;
			}
		}
	}
	
	long long count(){
		long long ans=0;
		REP(i,1,cnt) ans+=len[i]-len[fa[i]];
		return ans;
	}
}


char A[N&lt;&lt;1]; int ql,qr,Alen;
int seqA[N&lt;&lt;1],seqB[N&lt;&lt;1],tot,id[N&lt;&lt;1];
long long ans;

inline int cmp(const int &amp;u,const int &amp;v){
	if(seqA[u]==seqA[v]) return seqB[u]&lt;seqB[v];
	return dfn[seqA[u]]&lt;dfn[seqA[v]];
}

void askquery(){
	int cur=1,curlen=0;
	tot=0; ans=0;
	REP(i,1,Alen){
		int w=A[i]-&#x27;a&#x27;;
		while(cur&amp;&amp;!sam::tre[cur][w]){
			curlen=min(curlen,len[fa[cur]]); cur=fa[cur];
		}
		if(!cur){
			cur=1; curlen=0; continue;
		}
		curlen++; cur=sam::tre[cur][w];
		while(cur!=1){
			int curlas=sam::askpre(cur,qr);
			if(curlas-(len[fa[cur]]+1)+1&lt;ql){
//			if(curlas-curlen+1&lt;ql){
				curlen=min(curlen,len[fa[cur]]);
				cur=fa[cur];
			}else{
				curlen=min(curlen,curlas-ql+1); break;
			}
		}
		if(cur==1){
			cur=1; curlen=0; continue; 
		}
		ans+=curlen; ++tot;
		seqA[tot]=cur; seqB[tot]=curlen; id[tot]=tot;
	}
	REP(i,1,tot) id[i]=i;
	sort(id+1,id+tot+1,cmp);
	REP(i,1,tot-1){
		int k3=0;
		if(seqA[id[i]]==seqA[id[i+1]]){
			k3=min(seqB[id[i]],seqB[id[i+1]]);
		}else{
			int ww=sam::asklca(seqA[id[i]],seqA[id[i+1]]);
			k3=len[ww];
			if(ww==seqA[id[i]]) k3=seqB[id[i]];
		}
		ans-=k3;
	}
	sam2::init();
	REP(i,1,Alen) sam2::append(A[i]-&#x27;a&#x27;,i);
	long long ans3=sam2::count();
	ans=ans3-ans;
	printf(&quot;%lld\n&quot;,ans);
}

int main(int argc,char** argv){
	//freopen(&quot;name.in&quot;,&quot;r&quot;,stdin);
	//freopen(&quot;name.out&quot;,&quot;w&quot;,stdout);
	
	
	scanf(&quot;%s&quot;,s+1);
	slen=strlen(s+1);
	REP(i,1,slen) sam::append(s[i]-&#x27;a&#x27;,i); sam::initlca();
	sam::dfs(1);
	
	int q; scanf(&quot;%d&quot;,&amp;q);
	int lensum=0;
	while(q--){
		scanf(&quot;%s%d%d&quot;,A+1,&amp;ql,&amp;qr);
		Alen=strlen(A+1);
		askquery();
	}
	
	return 0;
}</code></pre>
				<br />
				
				<label for="result"> 评测结果 </label><div class="row"><div class="col-xs-12"><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Compilation</b></td><td class="col-xs-2" style="vertical-align:middle">N/A</td><td class="col-xs-2" style="vertical-align:middle">N/A</td><td class="col-xs-2" style="vertical-align:middle">Compile OK</td><td class="col-xs-2" style="vertical-align:middle">Score: N/A</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_1" aria-expanded="false" aria-controls="detail_1">显示更多</a></td></tr></table></div><div class="collapse" id="detail_1"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>Compiling...
Compile success!
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #1</b></td><td class="col-xs-2" style="vertical-align:middle">13.458 ms</td><td class="col-xs-2" style="vertical-align:middle">11 MB + 796 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_2" aria-expanded="false" aria-controls="detail_2">显示更多</a></td></tr></table></div><div class="collapse" id="detail_2"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 13.458397
mem_kb = 12060
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #2</b></td><td class="col-xs-2" style="vertical-align:middle">18.874 ms</td><td class="col-xs-2" style="vertical-align:middle">12 MB + 156 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_3" aria-expanded="false" aria-controls="detail_3">显示更多</a></td></tr></table></div><div class="collapse" id="detail_3"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 18.874204
mem_kb = 12444
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #3</b></td><td class="col-xs-2" style="vertical-align:middle">19.476 ms</td><td class="col-xs-2" style="vertical-align:middle">12 MB + 156 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_4" aria-expanded="false" aria-controls="detail_4">显示更多</a></td></tr></table></div><div class="collapse" id="detail_4"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 19.475667
mem_kb = 12444
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #4</b></td><td class="col-xs-2" style="vertical-align:middle">157.611 ms</td><td class="col-xs-2" style="vertical-align:middle">12 MB + 604 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_5" aria-expanded="false" aria-controls="detail_5">显示更多</a></td></tr></table></div><div class="collapse" id="detail_5"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 157.611262
mem_kb = 12892
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #5</b></td><td class="col-xs-2" style="vertical-align:middle">152.135 ms</td><td class="col-xs-2" style="vertical-align:middle">12 MB + 588 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_6" aria-expanded="false" aria-controls="detail_6">显示更多</a></td></tr></table></div><div class="collapse" id="detail_6"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 152.134560
mem_kb = 12876
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #6</b></td><td class="col-xs-2" style="vertical-align:middle">1.269 s</td><td class="col-xs-2" style="vertical-align:middle">409 MB + 880 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_7" aria-expanded="false" aria-controls="detail_7">显示更多</a></td></tr></table></div><div class="collapse" id="detail_7"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 1268.571324
mem_kb = 419696
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #7</b></td><td class="col-xs-2" style="vertical-align:middle">1.267 s</td><td class="col-xs-2" style="vertical-align:middle">409 MB + 700 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_8" aria-expanded="false" aria-controls="detail_8">显示更多</a></td></tr></table></div><div class="collapse" id="detail_8"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 1267.422985
mem_kb = 419516
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #8</b></td><td class="col-xs-2" style="vertical-align:middle">298.261 ms</td><td class="col-xs-2" style="vertical-align:middle">72 MB + 768 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a class="nav-link" href="/user/register/index.html"> 注册 </a>
<a href="http://www.iis7.com" id="0bc7882e6c7a4c96bc4144a681020bf2" style="display:inline-block;background-color:;color:#fff;padding:2px 5px;font-family:arial;font-size:12px;font-weight:bold;" target="_blank" class="0bc7882e6c7a4c96bc4144a681020bf2" >iis7站长之家</a></td></tr></table></div><div class="collapse" id="detail_9"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 298.260570
mem_kb = 74496
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #9</b></td><td class="col-xs-2" style="vertical-align:middle">446.448 ms</td><td class="col-xs-2" style="vertical-align:middle">66 MB + 716 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_10" aria-expanded="false" aria-controls="detail_10">显示更多</a></td></tr></table></div><div class="collapse" id="detail_10"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 446.447747
mem_kb = 68300
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #10</b></td><td class="col-xs-2" style="vertical-align:middle">626.936 ms</td><td class="col-xs-2" style="vertical-align:middle">132 MB + 268 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_11" aria-expanded="false" aria-controls="detail_11">显示更多</a></td></tr></table></div><div class="collapse" id="detail_11"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 626.935798
mem_kb = 135436
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #11</b></td><td class="col-xs-2" style="vertical-align:middle">1.001 s</td><td class="col-xs-2" style="vertical-align:middle">124 MB + 328 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_12" aria-expanded="false" aria-controls="detail_12">显示更多</a></td></tr></table></div><div class="collapse" id="detail_12"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 1000.851680
mem_kb = 127304
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #12</b></td><td class="col-xs-2" style="vertical-align:middle">1.036 s</td><td class="col-xs-2" style="vertical-align:middle">192 MB + 640 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_13" aria-expanded="false" aria-controls="detail_13">显示更多</a></td></tr></table></div><div class="collapse" id="detail_13"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 1036.103455
mem_kb = 197248
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #13</b></td><td class="col-xs-2" style="vertical-align:middle">1.614 s</td><td class="col-xs-2" style="vertical-align:middle">184 MB + 228 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_14" aria-expanded="false" aria-controls="detail_14">显示更多</a></td></tr></table></div><div class="collapse" id="detail_14"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 1614.212082
mem_kb = 188644
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #14</b></td><td class="col-xs-2" style="vertical-align:middle">1.389 s</td><td class="col-xs-2" style="vertical-align:middle">255 MB + 368 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_15" aria-expanded="false" aria-controls="detail_15">显示更多</a></td></tr></table></div><div class="collapse" id="detail_15"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 1388.986956
mem_kb = 261488
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #15</b></td><td class="col-xs-2" style="vertical-align:middle">2.265 s</td><td class="col-xs-2" style="vertical-align:middle">246 MB + 196 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_16" aria-expanded="false" aria-controls="detail_16">显示更多</a></td></tr></table></div><div class="collapse" id="detail_16"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 2265.018811
mem_kb = 252100
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #16</b></td><td class="col-xs-2" style="vertical-align:middle">1.847 s</td><td class="col-xs-2" style="vertical-align:middle">318 MB + 248 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_17" aria-expanded="false" aria-controls="detail_17">显示更多</a></td></tr></table></div><div class="collapse" id="detail_17"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 1847.119134
mem_kb = 325880
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #17</b></td><td class="col-xs-2" style="vertical-align:middle">2.923 s</td><td class="col-xs-2" style="vertical-align:middle">308 MB + 776 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_18" aria-expanded="false" aria-controls="detail_18">显示更多</a></td></tr></table></div><div class="collapse" id="detail_18"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 2922.624208
mem_kb = 316168
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #18</b></td><td class="col-xs-2" style="vertical-align:middle">1.395 s</td><td class="col-xs-2" style="vertical-align:middle">140 MB + 184 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_19" aria-expanded="false" aria-controls="detail_19">显示更多</a></td></tr></table></div><div class="collapse" id="detail_19"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 1395.142960
mem_kb = 143544
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #19</b></td><td class="col-xs-2" style="vertical-align:middle">1.632 s</td><td class="col-xs-2" style="vertical-align:middle">198 MB + 116 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_20" aria-expanded="false" aria-controls="detail_20">显示更多</a></td></tr></table></div><div class="collapse" id="detail_20"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 1632.394983
mem_kb = 202868
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #20</b></td><td class="col-xs-2" style="vertical-align:middle">1.732 s</td><td class="col-xs-2" style="vertical-align:middle">257 MB + 632 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_21" aria-expanded="false" aria-controls="detail_21">显示更多</a></td></tr></table></div><div class="collapse" id="detail_21"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 1731.501694
mem_kb = 263800
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #21</b></td><td class="col-xs-2" style="vertical-align:middle">1.843 s</td><td class="col-xs-2" style="vertical-align:middle">317 MB + 796 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_22" aria-expanded="false" aria-controls="detail_22">显示更多</a></td></tr></table></div><div class="collapse" id="detail_22"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 1842.972134
mem_kb = 325404
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #22</b></td><td class="col-xs-2" style="vertical-align:middle">1.96 s</td><td class="col-xs-2" style="vertical-align:middle">317 MB + 944 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_23" aria-expanded="false" aria-controls="detail_23">显示更多</a></td></tr></table></div><div class="collapse" id="detail_23"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 1959.572227
mem_kb = 325552
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #23</b></td><td class="col-xs-2" style="vertical-align:middle">1.931 s</td><td class="col-xs-2" style="vertical-align:middle">317 MB + 844 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_24" aria-expanded="false" aria-controls="detail_24">显示更多</a></td></tr></table></div><div class="collapse" id="detail_24"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 1930.984414
mem_kb = 325452
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #24</b></td><td class="col-xs-2" style="vertical-align:middle">1.896 s</td><td class="col-xs-2" style="vertical-align:middle">318 MB + 384 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_25" aria-expanded="false" aria-controls="detail_25">显示更多</a></td></tr></table></div><div class="collapse" id="detail_25"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 1895.631705
mem_kb = 326016
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #25</b></td><td class="col-xs-2" style="vertical-align:middle">1.901 s</td><td class="col-xs-2" style="vertical-align:middle">318 MB + 432 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_26" aria-expanded="false" aria-controls="detail_26">显示更多</a></td></tr></table></div><div class="collapse" id="detail_26"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 1900.785223
mem_kb = 326064
Correct Answer
</textarea></div></div></div></div>
			</div>
		</div>
	</div>

	<hr />
	
	<div class="row">
		<p style="text-align: center; color: #888">
			Judge Duck Online | 评测鸭在线 <br />
			Server Time: 2019-08-02 17:16:14 | Loaded in 25 ms | <a href="/status/index.html"> Server Status </a> <br />
			个人娱乐项目，仅供学习交流使用
		</p>
	</div>
</div>

</body>

</html>
